﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<link type="text/css" rel="stylesheet" href="../../Inc/themes/page.css" />
<head>
    <title>系统菜单设定</title>

    <script type="text/javascript" src="../../Inc/js/jquery.js"></script>

    <script type="text/javascript" src="../../Inc/js/plug.js"></script>

    <script type="text/javascript" src="../../Inc/js/extend.js"></script>

    <script type="text/javascript"> 
        initPlugs({xml:"../../inc/js/xml/js.xml",path:"../../"});   
    </script>

    <script src="js/menuset.js" type="text/javascript"></script>

</head>
<body>
    <div class="pageFormContent" style="overflow: auto; height: 250px;">
        <dl>
            <dt>上級菜單:</dt>
            <dd>
                <select id="ParefolderidSel">
                </select>
                <input id="WEIGHT" class="required" style="display: none;"  fieldname="Parefolderid" id="ParefolderidInput"
                    isfield="true"  type="text" />
            </dd>
        </dl>
        <dl>
            <dt>菜單名稱:</dt>
            <dd>
                <input id="UNIT" class="required" fieldname="Foldernm" isfield="true" type="text" />
            </dd>
        </dl>
        <dl>
            <dt>iFrameID:</dt>
            <dd>
                <input id="LAILIAO_DATE" class="required" fieldname="Target" isfield="true" type="text" />
            </dd>
        </dl>
        <dl>
            <dt>是否显示数字:</dt>
            <dd>
                <!--<input id="Text1" class="required" fieldname="Treenum" isfield="true" type="text" />-->
                <select id="TreenumSel" class="required" fieldname="Treenum" isfield="true">
                    <option value="true">是</option>
                    <option value="false">否</option>
                </select>
            </dd>
        </dl>
        <dl>
            <dt>菜單URL:</dt>
            <dd>
                <input id="AMOUNT" class="required" fieldname="Formurl" isfield="true" type="text" />
            </dd>
        </dl>
        <dl>
            <dt>菜單参数:</dt>
            <dd>
                <input id="Text4" class="required" fieldname="Paras" isfield="true" type="text" />
            </dd>
        </dl>
        <dl>
            <dt>归属角色:</dt>
            <dd>
            
                <input id="GroupidText" class="required" readonly="readonly" type="text" />
                <input id="Groupid" class="required" style="display: none;" readonly="readonly" fieldname="Groupid"
                    isfield="true" type="text" />
            </dd>
        </dl>
        <dl style="height: 80px;">
            <dt>选择角色:</dt>
            <dd>
                <select multiple="multiple" id="GroupidSel" style="height: 80px;" ondblclick="GroupSelect()">
                    <option value="1800013">IT管理員</option>
                    <option value="1800010">簽核人</option>
                    <option value="1800163">企劃主管</option>
                </select>
            </dd>
        </dl>
        <dl>
            <dt>菜单图标:</dt>
            <dd>
                <input id="IconpathInput" class="required" fieldname="Iconpath" isfield="true" type="text" />
            </dd>
        </dl>
        <dl>
            <dt>选择图标</dt>
            <dd>
                <div id="iconDiv" class="iconDiv" style="left: 20px; top: 5px; height: 275px; border-width: 2px;">
                    <div class="iconInnerDiv" width="55" style="height: 150px; overflow: auto; float: left;">
                        <div class="outerIconContainer" style="cursor: pointer;" width="55" onclick="doSelect(this);">
                            <div class="iconContainer">
                                <img alt="圖標" width="55" title="點擊選擇" height="55" src="../../inc/themes/css/img/applyico/icon_634875287704843750.png" />
                            </div>
                        </div>
                    </div>
                </div>
                <input id="Text3" class="required" fieldname="Iconpath" isfield="true" style="display: none;"
                    type="text" />
            </dd>
        </dl>
    </div>
    <div class="dialogpagebottom">
        <a class="button blue" onclick="addMenu()"><i class="icon icon-white icon-save"></i>
            保存</a>
    </div>
</body>
</html>
